/*
 * @Author: your name
 * @Date: 2021-10-02 10:07:08
 * @LastEditTime: 2021-10-02 22:00:53
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue3.0\vue3_vite\src\main.js
 */
import { createApp } from 'vue'
import App from './App.vue'
import Antd, { message } from 'ant-design-vue';
import { router } from './routes'
import store from './store'
import './index.css'
const app = createApp(App);

app.use(store)
app.use(router)
app.use(Antd);
app.config.globalProperties.$message = message;

// router.isReady().then(() => {
//   app.mount('#app')
// })

app.mount('#app')